package multithreadedgui.model;

/**
 * Use at own risk.
 * Creation data:
 * User: Alex
 * Date: 12/04/12
 * Time: 20:08
 */
public interface Callback<E> {
    /**
     * This method should be called when the task is finished, giving the result of the task
     * as the parameter to the call method.
     * @param result
     */
    public void call(E result);
}
